﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyRapChieuPhim.DTO
{
    class SuatChieuDTO
    {
        DateTime m_NgayChieu;

        public DateTime NgayChieu
        {
            get { return m_NgayChieu; }
            set { m_NgayChieu = value; }
        }

        private int m_DaXoa;
        public int DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        private int m_MaSuatChieu;
        public int MaSuatChieu
        {
            get { return m_MaSuatChieu; }
            set { m_MaSuatChieu = value; }
        }

        private string m_TenSuatChieu;
        public string TenSuatChieu
        {
            get { return m_TenSuatChieu; }
            set { m_TenSuatChieu = value; }
        }

        private int m_MaCaChieu;
        public int MaCaChieu
        {
            get { return m_MaCaChieu; }
            set { m_MaCaChieu = value; }
        }

        private int m_MaPhongChieu;
        public int MaPhongChieu
        {
            get { return m_MaPhongChieu; }
            set { m_MaPhongChieu = value; }
        }

        private int m_MaPhim;
        public int MaPhim
        {
            get { return m_MaPhim; }
            set { m_MaPhim = value; }
        }

        private int m_SoLuongVe;
        public int SoLuongVe
        {
            get { return m_SoLuongVe; }
            set { m_SoLuongVe = value; }
        }

        private string m_TenCaChieu;
        public string TenCaChieu
        {
            get { return m_TenCaChieu; }
            set { m_TenCaChieu = value; }
        }

        private string m_TenPhim;
        public string TenPhim
        {
            get { return m_TenPhim; }
            set { m_TenPhim = value; }
        }


        public SuatChieuDTO() { }

        public SuatChieuDTO(int _MaSuatChieu, string _TenSuatChieu ,int _MaCaChieu,int _MaPhongChieu ,int _MaPhim,int _SoLuongVe,DateTime _NgayChieu)
        {
            MaSuatChieu = _MaSuatChieu;
            TenSuatChieu = _TenSuatChieu;
            MaCaChieu = _MaCaChieu;
            MaPhongChieu = _MaPhongChieu;
            MaPhim = _MaPhim;
            SoLuongVe = _SoLuongVe;
            NgayChieu = _NgayChieu;
        }

        public SuatChieuDTO(SuatChieuDTO SuatChieu)
        {
            MaSuatChieu = SuatChieu.MaSuatChieu;
            TenSuatChieu = SuatChieu.TenSuatChieu;
            MaCaChieu = SuatChieu.MaCaChieu;
            MaPhongChieu = SuatChieu.MaPhongChieu;
            MaPhim = SuatChieu.MaPhim;
            SoLuongVe = SuatChieu.SoLuongVe;
            NgayChieu = SuatChieu.NgayChieu;
        }
    }
}
